<?php


class TEST_demo {
	public $mod;
	private $error;
	
	public function __construct() {
		$check = $GLOBALS['check'];
		$check->dontCheck('demo',array(1));
	}
	
	public function demo($aaaa='',$bbbb='') {
	$start = microtime(true);
	
		$db = new DB();
		$res = $db->query("UPDATE product SET sort_id = 'ff25' WHERE id = '1'",1);
		if( $res===false ) {
			return false;
		}
		// var_dump($res);
		// echo microtime(true);
		// echo "<br>\n";
	$endT =  microtime(true);
	
	//return  $endT-$start;
		$r= "barev ".$aaaa." Patasxan ".$bbbb." public => ".$this->mod;
		return $r;
	}
}



















?>